package cn.zhuama.org.service.impl;

import cn.zhuama.basic.sevice.impl.BaseServiceImpl;
import cn.zhuama.org.domain.Book;
import cn.zhuama.org.domain.Bookde;
import cn.zhuama.org.mapper.BookMapper;
import cn.zhuama.org.mapper.BookdeMapper;
import cn.zhuama.org.service.BookService;
import cn.zhuama.org.service.BookdeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Service
//查询的方法比较多，使用查询的事务配置
//只读，事务传播机制=SUPPORTS，有我就用，没有事务就不用
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class BookdeServiceImpl extends BaseServiceImpl<Bookde> implements BookdeService {
    @Autowired
    BookdeMapper bookMapper;

}
//java.lang.Long, java.lang.String,  java.lang.String, java.lang.String, java.lang.Integer, java.lang.Long,
//        java.lang.Long, java.lang.Long, java.lang.String, java.lang.Long, java.lang.String]